package cn.com.dashboard.model;

import lombok.Data;

import java.io.Serializable;

/**
 * @author jiaming
 */
@Data
public class BaseRuleRequest implements Serializable {

    private static final long serialVersionUID = -1L;

    /**
     * 应用名称
     */
    private String appName;

    /**
     * 规则名称
     */
    private String ruleName;

    /**
     * 规则key
     */
    private String ruleKey;

    /**
     * 是否前缀匹配
     */
    private boolean prefix;

    /**
     * hotkey的阈值
     */
    private long threshold;

    /**
     * 本地缓存时间，单位秒
     */
    private int duration;

    /**
     * hotkey 探测间隔，单位秒
     */
    private int interval;

}
